# -*- coding:utf-8 -*-
# CREATED BY: jiangbohuai
# CREATED ON:  4:11 PM
# LAST MODIFIED ON:
# AIM: abstract loss class

import abc


class LossABC:

    @abc.abstractmethod
    def __call__(self, actual, expect):
        '''

        :param actual: nn result -> y
        :param expect: expect result -> t
        :return: loss, verbose
        '''
        pass
